<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="en" />



<script src="jquery.js" type="text/javascript"></script>


<title> Basic RSS Feed Example</title>
</head>
<body>



<script type="text/javascript">

var rssurl = 'http://localhost:8080/rssrest/artical.rss';
$.get(rssurl, function(data) {
	alert(data);
	var $xml = $(data);
	$xml.find("item").each(function() {
		var $this = $(this),
			item = {
				title: $this.find("title").text(),
				link: $this.find("link").text(),
				description: $this.find("description").text(),
				pubDate: $this.find("pubDate").text(),
				author: $this.find("author").text()
		}
		console.log(item)
	});
});

</script>



</body>
</html>